package com.cars.satoken.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: caoqianfan
 * @date: 2023/11/20 10:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("permission")
public class Permission implements Serializable {
    @Serial
    private static final long serialVersionUID = 102L;

    @TableId(type = IdType.AUTO)
    Long id;
    String name;
}